﻿using EntityModels.E09.Files;

namespace IRepositories
{
    public interface IFilePathRepository
    {
        /// <summary>
        ///  创建文件返回文件信息
        /// </summary>
        /// <param name="file"></param>
        /// <returns></returns>
        Task<FilePath> CreateAsync(FilePath file);
        /// <summary>
        /// 使用id查找文件路径
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<FilePath> FindAsync(Guid id);

    }
}
